/*********************************************************
          File Name:pisces_signal.h
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Fri 24 Apr 2015 09:54:05 PM CST
**********************************************************/

#ifndef PISCES_SINGAL_H_
#define PISCES_SINGAL_H_

#include "header.h"

typedef struct {
    int signo;
    struct sigaction sa;
} pisces_signal_t;

void pisces_signal(pisces_signal_t * sig, void (*handler) (int));

#endif
